package com.itheima.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
// 试题类
public class Questions extends BasePojo {

    @TableId(type = IdType.AUTO)
    private Long id;

    // 试题
    private String question;

    // 问卷id
    private Long questionnaireId;

}
